Thomas Fischer [Thu, 23 May 2024 17:59:51 +0000 (19:59 +0200)]
[PATCH] Switch to C++17 for recent ICU4C versions
Starting with ICU version 75, it makes use of C++ 17 constructs, so KBibTeX no longer
compiles if C++ is still set to C++ 11.
With this change, the C++ standard is raised to C++17 if a recent ICU is detected.
Gbp-Pq: Name upstream_Switch-to-C-17-for-recent-ICU4C-versions.patch
Pino Toscano [Tue, 11 Feb 2025 19:13:59 +0000 (20:13 +0100)]
kbibtex (0.10.0-4) unstable; urgency=medium
* Drop the libqt5webkit5-dev build dependency to disable the QtWebkit support
on architectures without QtWebEngine; the former is being slowly phased out
from Debian.
Thomas Fischer [Thu, 23 May 2024 17:59:51 +0000 (19:59 +0200)]
[PATCH] Switch to C++17 for recent ICU4C versions
Starting with ICU version 75, it makes use of C++ 17 constructs, so KBibTeX no longer
compiles if C++ is still set to C++ 11.
With this change, the C++ standard is raised to C++17 if a recent ICU is detected.
Gbp-Pq: Name upstream_Switch-to-C-17-for-recent-ICU4C-versions.patch
Pino Toscano [Wed, 5 Feb 2025 17:10:17 +0000 (18:10 +0100)]
kbibtex (0.10.0-3) unstable; urgency=medium
* Backport upstream commit 4d9ce600fdd1deb035a26e4f7922d35b2f41beaf to use
C++17 when building using ICU >= 75; patch
upstream_Switch-to-C-17-for-recent-ICU4C-versions.patch. (Closes: #1092464)
Pino Toscano [Wed, 1 May 2024 07:47:53 +0000 (09:47 +0200)]
kbibtex (0.10.0-2) unstable; urgency=medium
* Drop the spurious RUNPATH to /usr/ in libraries and executables
- add the chrpath build dependency
* Update copyright.
* Update lintian overrides.
* Switch the transitional pkg-config build dependency to pkgconf.
* Bump Standards-Version to 4.7.0, no changes required.
* New upstream release.
* Use execute_after_dh_auto_install to avoid invoking dh_auto_install
manually.
* Drop the breaks/replaces for versions older than Debian Buster.
* Switch watch file to the stable releases, now that 0.10.0 is released.
* Update standards version to 4.6.2, no changes needed.
* Update the patches:
- 0001-Fix-crash-with-newer-Qt-versions.patch: drop, backported from
upstream
- 0001-Fixing-crash-when-opening-.bib-file.patch: drop, backported from
upstream
* Drop the qtwebengine5-dev on mipsel, as that architecture was recently
dropped.
* Remove an obsolete maintscript entry.
Thomas Fischer [Fri, 30 Dec 2022 23:00:04 +0000 (00:00 +0100)]
Fixing crash when opening .bib file
In certain situations, also depending on Linux distributions (varying Qt
and KDE Frameworks versions), opening a bibliography file can cause
crashes (segmentation faults) due to an invalid model or its underlying
data.
This commit changes the order of two instructions. Now first an internal
variable is properly set. Only then an update on the model is applied.
The largest part of this commit is a new test that reproducibly crashes
without the changed order of two instructions, but passes after the fix
has been applied.
Pino Toscano [Tue, 12 Jan 2021 00:04:01 +0000 (00:04 +0000)]
kbibtex (0.9.90-1) unstable; urgency=medium
* New upstream release:
- since we use the release tarballs now, the translations are available
(Closes: #911523)
* Add myself to Uploaders.
* Update the patches:
- upstream_cmake-use-the-right-variable-for-man-page-install-de.patch:
drop, backported from upstream
* Update install files.
Pino Toscano [Tue, 15 Dec 2020 17:22:08 +0000 (17:22 +0000)]
kbibtex (0.9.81-2) unstable; urgency=medium
* Team upload.
[ Andreas Tille ]
* Follow a hint of Rik Mills and rather Build-Depend: qtwebengine5-dev
[ Pino Toscano ]
* Switch watch file to track the official tarballs, rather than random tags
on the GitHub mirror.
* Drop our own debian/missing-sources/COPYING-CMAKE-SCRIPTS and the reference
to it in debian/copyright, as this file is no more referenced by upstream
sources.
* Stop rebuilding the application icon: upstream ships already proper icons,
and more sized can be asked to be shipped in case they are needed
- drop the imagemagick, inkscape, and librsvg2-bin build dependencies,
no more needed now
* Drop all the manual handling of build flags, as everything is properly
handled already since debhelper compatibility 9.
* Drop all the development files, i.e. cmake config files and headers, in
addition to .so symlinks.
* Install the missing files.
* Unregister the old /etc/xdg/kbibtexrc conffile.
* Stop passing --list-missing to dh_missing, as everything is installed now.
* Drop the 'run' autopkgtest:
- never passed (at least in the last 3 years)
- too fragile to maintain
- it does not test anything much of use
* Reference the actual upstream Git repository in debian/upstream/metadata.
* Use the kf5 dh addon, so common bits for KF5-based applications (e.g. not
compressing the DocBook documentation) are applied.
* Remove the explicit as-needed linking, as it is done by binutils now.
* Drop the wrong Multi-Arch: foreign field from kbibtex, as it is hardly a
"tool" for other architectures.
* Update and simplify the lintian overrides.
* Update the build dependencies according to the upstream build system:
- bump cmake to 3.7.2
- bump the Qt packages to 5.9.0
- bump the KF packages to 5.51.0
- explicitly add gettext, libicu-dev, pkg-config, and shared-mime-info
- remove the unused/unneeded qtbase5-dev-tools, libkf5itemviews-dev,
libkf5completion-dev, libqca-qt5-2-dev, and libxslt1-dev
* The unit tests still fail, so disable their build by passing
-DBUILD_TESTING=OFF to cmake.
* Do not export DH_VERBOSE=1, as there is no need to get a really verbose
build log by default.
* Restrict the qtwebengine5-dev build dependency to the architectures where
it is present, using libqt5webkit5-dev on any other architecture.
* Backport upstream commit 40d3149cfaf5c3b1f3b1110617d291eb332d76f3 to fix
the installation of the man page; patch
upstream_cmake-use-the-right-variable-for-man-page-install-de.patch
- update debian/kbibtex-data.install
- drop debian/kbibtex-data.manpages, no more needed now
* New upstream version based on KDE Frameworks
5", thanks to Pierre Haessig (Closes: #907030).
* Bug fix: "kbibtex FTBFS: delegate-failed rsvg-convert", thanks to
Helmut Grohne (Closes: #893538).
* Bug fix: "[kbibtex] kbibtex icon is not correctly converted", thanks
to Antonio Russo (Closes: #894653).
* Bug fix: "project homepage changed gna.org -> kde.org", thanks to
Pierre Haessig (Closes: #901856).
* Bug fix: "kbibtex FTBFS: delegate-failed rsvg-convert", thanks to
Helmut Grohne (Closes: #893538).
Thomas Fischer [Mon, 6 Feb 2012 21:57:41 +0000 (21:57 +0000)]
Fix data loss with doi field
This simple extract of a bibtex file is corrupted by bibtex
@article{JPAMG06MU,
author = "D. V. Makarov and M. Yu. Uleysky",
doi = "10.1088/0305-4470/39/3/003",
issn = "0305-4470",
issue = "3",
journal = "Journal of Physics A: Mathematical and General",
pages = "489–497",
title = "Specific Poincaré map for a randomly-perturbed nonlinear oscillator",
volume = "39",
year = "2006"
}
If you open this file with KBibTex, doi is always cutted
to 10.1088/0305-4470 and external link, of course, don't work.
Also, KBibTex cutting this doi then saving file.